<template>
<section @click="clickCurrent('current')" @mousedown="clickCurrent('dragging')">
    <div :class="['custorm--modelbox', 'graphicimgs-show', (custormCurrent == custormIndex)?'drag active':'drag']">
        <!-- <div v-if="custormItemData.params.isshow == '2'" class="noshow" v-bind:style="{'background-image':`url(${getPath('noshow.png')})`}"></div> -->
        <div>
            <div class="es-picture" style="overflow: hidden;">
                <!-- <img v-for="(item, index) in custormItemData.shopdata" style="width:355px;height:75px;" :key="index" :src="getPath(item.thumb && item.thumb.file_path ? item.thumb.file_path : 'default_banner.png')" draggable="false"> -->
                 <img style="width:355px;" :src="getPath('rm.png')">
            </div>
            <div class="btn-edit-del" @click="delCurrent"><span class="btn-del iconfont icon icon-close"></span></div>
        </div>
        <!-- <div style="display:flex;flex-wrap:wrap;">
            <div v-for="(item,index) in custormItemData.data" :key= "index" style="display:flex;padding:15px;">
              <div>
                <img :src="item.file_path" alt="" style="height:130px;width:140px;border-radius: 10px;">
               <div style="display:flex;">
                  <div style="color: #fff;background: #FF6600;width: 28px;border-radius: 6px; margin-top: 10px;padding:1px;">
                  热卖
                </div>
                <div style="line-height: 18px;margin-top: 10px;white-space: normal;text-overflow: ellipsis;overflow: hidden;width:115px;text-overflow:ellipsis;white-space: nowrap;">
                 {{ item.goods_name}}
                </div>
               </div>
              <div style="display:flex;">
                <div style="color: #fd463e;font-weight: 700;font-size:14px;">
                ￥1.00
              </div> 
              <div style="text-decoration:line-through;color:#999;font-size:14px;">
                ￥99.00
              </div>
              </div>
              </div>
            </div>
    </div> -->
    </div>
    
</section>
</template>

<script>
import defaultConfig from './utils/showConfig'
export default {
  mixins: [defaultConfig.mixins],
  props: {
    defaultConfig: {
      type: Object,
      default: function() {
        return defaultConfig
      }
    }
  },
  methods: {

  }
}
</script>

<style lang="scss" scoped>
.custorm--modelbox.graphicimgs-show {
    .es-picture img {
        width: 100%;
        display: block;
    }
}
</style>
    